TOP=..

include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================

# Library for IOC
INC += neutronServer.h
DBD += neutronServer.dbd
LIBRARY_IOC += neutronServer
neutronServer_SRCS += neutronServer.cpp
neutronServer_SRCS += workerRunnable.cpp
neutronServer_SRCS += neutronServerRegister.cpp
neutronServer_SRCS += DataRingConsumeThread.cpp
neutronServer_SRCS += EventData.cpp
neutronServer_SRCS += JsonReader.cpp
neutronServer_SRCS += udpsr.cpp
#neutronServer_SRCS += rbcp.cpp
neutronServer_SRCS += RbcpConfig.cpp
# neutronServer_SRCS += TcpSocket.cpp
#neutronServer_SRCS += SocketRunnable.cpp
neutronServer_SRCS += TcpClient.cpp
neutronServer_SRCS += UdpClient.cpp

# Standalone demo server
PROD_HOST += neutronServerMain
neutronServerMain_SRCS += neutronServerMain.cpp
neutronServerMain_SRCS += neutronServer.cpp
neutronServerMain_SRCS += workerRunnable.cpp
#neutronServerMain_SRCS += SocketRunnable.cpp
neutronServerMain_SRCS += udpsr.cpp
#neutronServerMain_SRCS += rbcp.cpp
neutronServerMain_SRCS += RbcpConfig.cpp
neutronServerMain_SRCS += TcpClient.cpp
neutronServerMain_SRCS += UdpClient.cpp
neutronServerMain_SRCS += JsonReader.cpp
neutronServerMain_SRCS += DataRingConsumeThread.cpp
neutronServerMain_SRCS += EventData.cpp
# neutronServerMain_SRCS += TcpSocket.cpp
neutronServerMain_LIBS += pvDatabase
neutronServerMain_LIBS += pvAccess
neutronServerMain_LIBS += pvData
neutronServerMain_LIBS += Com

neutronServerMain_SYS_LIBS_WIN32 = ws2_32 advapi32 user32
neutronServerMain_SYS_LIBS_solaris = socket

# Standalone client that checks sequence of events from demo server
PROD_HOST += neutronClientMain
neutronClientMain_SRCS += neutronClientMain.cpp
neutronClientMain_LIBS += pvAccess
neutronClientMain_LIBS += pvData
neutronClientMain_LIBS += Com

#===========================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE

